
window.TOKEN_KEY = "app-token";

window.SYSTEM_NAME = "华清伽马生产平台";

window.PRINTER = {
  width: 7,
  height: 4,
  dpi: 300
};

/*端口地址*/
window.APP_SETTING = {
  SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
  SERVER_PORT: 5555,
  API: "",
  OPC: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 9988,
    API: "api"
  },
  GM: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 5555,
    API: "gm/mes-api"
  },
  XTP: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 5555,
    API: "/gm/xtp-api"
  },
  // GM: {
  //   SERVER_HOST: "119.37.194.4",
  //   SERVER_PORT: 5555,
  //   API: "gm/mes-api"
  // }
};

/*其他网页*/
window.APP_SETTING_WEB = {
  SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
  SERVER_PORT: 8888,
  PATH: "",
  BUTTONS_OPERATION: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 8888,
    PATH: ""
  },
  ROLLER_DETAIL_OPERATION: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 8888,
    PATH: ""
  },
  GROOVE_INFO: {
    SERVER_HOST: "112.27.125.137", //window.location.hostname, //"112.27.125.137",
    SERVER_PORT: 8088,
    PATH: ""
  }
  // BUTTONS_OPERATION: {
  //   SERVER_HOST: "119.37.194.4",
  //   SERVER_PORT: 11142,
  //   PATH: "gm-mes",
  // }
  // ROLLER_DETAIL_OPERATION: {
  //   SERVER_HOST: "119.37.194.4",
  //   SERVER_PORT: 11142,
  //   PATH: "gm-mes",
  // }
};
